 <style type="text/css">
A:link {text-decoration: none; color: white;}
A:visited {text-decoration: none; color: white;}
A:active {text-decoration: none}
</style>
<uli>
    {% for service,value in services.items %}
        {% if value%}
            <li class="label label-success"><a style="text-decoration: none;" href="/services/detail/?service={{service}}&machine={{host.id}}">{{service}}</a></li>
        {%else%}
            <li class="label label-important"><a href="/services/detail?service={{service}}&machine={{host.id}}">{{service}}</a></li>
        {%endif%}
    {%endfor%}
</ul>
